package cn.yedong.user.service;

import cn.yedong.user.domain.User;
import cn.yedong.basic.service.IBaseService;

import javax.mail.MessagingException;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yedong
 * @since 2023-02-10
 */
public interface IUserService extends IBaseService<User> {
    //手机号码注册
    void phoneRegister(Map<String, String> map);
    //邮箱注册
    void mailRegister(Map<String, String> map) throws MessagingException;
    //邮箱注册-激活
    void mailActive(Long id);
}
